package org.rain.common.anno;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * created by yangtong on 2025/4/7 18:50:33
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(value = {ElementType.FIELD})
public @interface Dict {

    /**
     * 字典编码
     */
    String code() default "";

    /**
     * 表
     */
    String table() default "";

    /**
     * 显示值
     */
    String text() default "";

}
